#ifndef _SPI_H_
#define _SPI_H_

#include "stdint.h"

uint16_t spi_data_transmit_receive_buf(uint32_t spi_periph,uint8_t *pTxData,uint8_t *pRxData,uint16_t len,uint32_t timeout);
uint16_t spi_data_transmit_buf(uint32_t spi_periph,uint8_t *pTxData,uint16_t len,uint32_t timeout);
uint16_t spi_data_receive_buf(uint32_t spi_periph,uint8_t *pRxData,uint16_t len,uint32_t timeout);

#endif
